正在查看 3 结果:1-3 (共 3 个结果)
-
搜索结果
-
您好:
我们用两种方式导入主题demo时出现问题,分别如下,请帮忙看下该如何解决,谢谢 。
1. 用主题自带导入容器,提示 wp_remote_get函数错误,如图:
系统状态中,有红字提示:WP远程文章:
[?]
wp_remote_post() failed. Some theme features may not work. Please contact your hosting provider and make sure that https://www.google.com/recaptcha/api/siteverify is not blocked.2.导入备用演示方式,则all in 1 wp migration 导入执行到78%左右停止。如下为系统信息:
### wp-core ### version: 5.3.2 site_language: zh_CN user_language: zh_CN timezone: Asia/Shanghai permalink: /index.php/%year%/%monthnum%/%day%/%postname%/ https_status: false user_registration: 0 default_comment_status: open multisite: false user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /www/wwwroot/usedins.com/wordpress wordpress_size: 43.47 MB (45581687 bytes) uploads_path: /www/wwwroot/usedins.com/wordpress/wp-content/uploads uploads_size: not accessible themes_path: /www/wwwroot/usedins.com/wordpress/wp-content/themes themes_size: 26.33 MB (27607840 bytes) plugins_path: /www/wwwroot/usedins.com/wordpress/wp-content/plugins plugins_size: 70.53 MB (73951059 bytes) database_size: 5.52 MB (5783552 bytes) total_size: not available ### wp-active-theme ### name: Avada Child - Wei(Avada-Child-Wei) version: 1.5.0 author: 薇晓朵 author_website: https://www.weixiaoduo.com/ parent_theme: Avada (Avada) theme_features: fusion-builder-options, post-thumbnails, title-tag, automatic-feed-links, custom-header, custom-background, woocommerce, wc-product-gallery-slider, wc-product-gallery-lightbox, post-formats, fusion-builder-demos, menus, align-wide, wp-block-styles, editor-font-sizes, widgets theme_path: /www/wwwroot/usedins.com/wordpress/wp-content/themes/Avada-Child-Wei ### wp-parent-theme ### name: Avada(Avada) version: 6.2.1 author: ThemeFusion author_website: https://themeforest.net/user/ThemeFusion theme_path: /www/wwwroot/usedins.com/wordpress/wp-content/themes/Avada ### wp-themes-inactive (3) ### Twenty Nineteen: version: 1.4, author: WordPress团队 Twenty Seventeen: version: 2.2, author: WordPress团队 Twenty Twenty: version: 1.1, author: WordPress团队 ### wp-plugins-active (5) ### All-in-One WP Migration: version: 7.17, author: ServMask (latest version: 7.18) Contact Form 7: version: 5.1.7, author: Takayuki Miyoshi Fusion Builder: version: 2.2.1, author: ThemeFusion Fusion Core: version: 4.2.1, author: ThemeFusion WooCommerce: version: 4.0.0-rc.1, author: Automattic (latest version: 4.0.0) ### wp-plugins-inactive (4) ### Akismet Anti-Spam: version: 4.1.3, author: Automattic (latest version: 4.1.4) Fusion White Label Branding: version: 1.1.3, author: ThemeFusion Hello Dolly: version: 1.7.2, author: Matt Mullenweg Slider Revolution: version: 6.1.8, author: ThemePunch ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: 不可用 imagemagick_version: 不可用 gd_version: bundled (2.1.0 compatible) ghostscript_version: unknown ### wp-server ### server_architecture: Linux 3.10.0-1062.9.1.el7.x86_64 x86_64 httpd_software: nginx/1.16.1 php_version: 7.3.15 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 300 memory_limit: 256M max_input_time: 600 upload_max_size: 500M php_post_max_size: 500M curl_version: 7.64.0 OpenSSL/1.0.2r suhosin: false imagick_availability: false ### wp-database ### extension: mysqli server_version: 5.6.47-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /www/wwwroot/usedins.com/wordpress/wp-content WP_PLUGIN_DIR: /www/wwwroot/usedins.com/wordpress/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined ### wp-filesystem ### wordpress: not writable wp-content: not writable uploads: not writable plugins: not writable themes: not writable
### wp-core ### version: 5.3.2 site_language: zh_CN user_language: zh_CN timezone: Asia/Shanghai permalink: undefined https_status: false user_registration: 0 default_comment_status: open multisite: false user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /usr/share/nginx/html/wordpress wordpress_size: 43.47 MB (45581363 bytes) uploads_path: /usr/share/nginx/html/wordpress/wp-content/uploads uploads_size: 11.52 MB (12080593 bytes) themes_path: /usr/share/nginx/html/wordpress/wp-content/themes themes_size: 26.33 MB (27607840 bytes) plugins_path: /usr/share/nginx/html/wordpress/wp-content/plugins plugins_size: 106.28 MB (111444000 bytes) database_size: 7.06 MB (7405568 bytes) total_size: 194.66 MB (204119364 bytes) ### wp-active-theme ### name: Avada Child - Wei(Avada-Child-Wei) version: 1.5.0 author: 薇晓朵 author_website: https://www.weixiaoduo.com/ parent_theme: Avada (Avada) theme_features: fusion-builder-options, post-thumbnails, title-tag, automatic-feed-links, custom-header, custom-background, woocommerce, wc-product-gallery-slider, wc-product-gallery-zoom, post-formats, fusion-builder-demos, menus, align-wide, wp-block-styles, editor-styles, editor-font-sizes, widgets theme_path: /usr/share/nginx/html/wordpress/wp-content/themes/Avada-Child-Wei ### wp-parent-theme ### name: Avada(Avada) version: 6.2.1 author: ThemeFusion author_website: https://themeforest.net/user/ThemeFusion theme_path: /usr/share/nginx/html/wordpress/wp-content/themes/Avada ### wp-themes-inactive (3) ### Twenty Nineteen: version: 1.4, author: WordPress团队 Twenty Seventeen: version: 2.2, author: WordPress团队 Twenty Twenty: version: 1.1, author: WordPress团队 ### wp-plugins-active (6) ### All-in-One WP Migration: version: 7.17, author: ServMask Contact Form 7: version: 5.1.7, author: Takayuki Miyoshi Fusion Builder: version: 2.2.1, author: ThemeFusion Fusion Core: version: 4.2.1, author: ThemeFusion Fusion White Label Branding: version: 1.1.3, author: ThemeFusion WooCommerce: version: 4.0.0-rc.1, author: Automattic (latest version: 4.0.0) ### wp-plugins-inactive (7) ### Advanced Custom Fields PRO: version: 5.8.7, author: Elliot Condon Akismet Anti-Spam: version: 4.1.3, author: Automattic Convert Plus: version: 3.5.5, author: Brainstorm Force Hello Dolly: version: 1.7.2, author: Matt Mullenweg LayerSlider WP: version: 6.10.2, author: Kreatura Media PWA: version: 0.2-alpha3, author: XWP, Google, and contributors (latest version: 0.3.0) Slider Revolution: version: 6.1.8, author: ThemePunch ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: 不可用 imagemagick_version: 不可用 gd_version: bundled (2.1.0 compatible) ghostscript_version: not available ### wp-server ### server_architecture: Linux 3.10.0-1062.9.1.el7.x86_64 x86_64 httpd_software: nginx/1.17.9 php_version: 7.2.27 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 600 memory_limit: 256M max_input_time: 600 upload_max_size: 200M php_post_max_size: 200M curl_version: 7.29.0 NSS/3.36 suhosin: false imagick_availability: false ### wp-database ### extension: mysqli server_version: 10.4.12-MariaDB client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /usr/share/nginx/html/wordpress/wp-content WP_PLUGIN_DIR: /usr/share/nginx/html/wordpress/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: not writable wp-content: writable uploads: writable plugins: not writable themes: not writable
bbPress 是一款简单易用的 WordPress 论坛程序,默认界面并不是很友好,需要主题兼容不然会非常简陋,这是薇晓朵制作分享的一款 bbPress 中文主题以替代其默认界面。
如何使用和添加代码:
1、首先请确保你已经安装了 bbPress 论坛,可在 WordPress 网站后台直接搜索:bbPress 进行安装。
2、请打开网站前台编辑器的【自定义】,复制下方美化代码到自定义 css 中。
3、美化代码内容如下:
/* bbPress China theme by Weixiaoduo.com * Theme URL: https://www.weixiaoduo.com/themes/bbpress-china-theme * 如下修改 CSS 和界面样式请在下方调整,bbPress 中文通用美化代码由薇晓朵提供,如需帮助请到支持论坛。 * */ html { -webkit-font-smoothing: antialiased; } body { font: 14px/25px PingFang SC, Microsoft YaHei, WenQuanYi Micro Hei, Arial, Helvetica, sans-serif; } #bbpress-forums li.bbp-header { border-top: none } #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { background: #f7f7f7 } .content-area .forum-titles { font-weight: bold; font-weight: 600; color: #777; } .content-area .bbp-forum-title, .content-area .bbp-topic-permalink { color: #222; font-weight: bold; font-weight: 600; font-size: 13px; margin: 0; } #bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta { font-size: 13px } #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer, #bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic, div.bbp-forum-header, div.bbp-topic-header, div.bbp-reply-header, li.bbp-body div.hentry { padding: 15px 15px } #bbpress-forums div.odd, #bbpress-forums ul.odd { background: none } #bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta { margin-bottom: 0; margin-top: 0; } .bbp-reply-author { text-align: left !important } #bbpress-forums fieldset.bbp-form label { margin-bottom: 5px } .bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky { background: none !important; font-size: 1em; } #bbpress-forums fieldset.bbp-form p, #bbpress-forums fieldset.bbp-form textarea, #bbpress-forums fieldset.bbp-form select { margin-bottom: 20px } div.bbp-submit-wrapper { float: none; margin-top: 0; } div.bbp-submit-wrapper button { width: 100%; } #bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar { border: 1px solid #eee; border-radius: 0; } #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content { background: none; border: 1px solid #eee; border-top: none; color: #555; } div.bbp-forum-header, div.bbp-topic-header, div.bbp-reply-header { border-color: #eee } #bbpress-forums div.bbp-forum-header, #bbpress-forums div.bbp-topic-header, #bbpress-forums div.bbp-reply-header { background: #f5f5f5 } #bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { font-weight: bold; font-weight: 600; color: #777; } #bbpress-forums li.bbp-footer { display: none } #bbpress-forums .status-trash.odd { background: none } #bbpress-forums .status-spam, #bbpress-forums .status-spam.odd { opacity: 0.3; background: #f7f7f7; } span.bbp-admin-links a { color: #666 } #bbpress-forums div.bbp-reply-content { padding: 15px } #bbpress-forums div.reply { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } #bbpress-forums .bbp-search-author, #bbpress-forums .bbp-search-content { text-align: left } .bbp-search .bbp-meta { display: none } #bbpress-forums div.bbp-forum-title h3, #bbpress-forums div.bbp-topic-title h3, #bbpress-forums div.bbp-reply-title h3 { font-size: 14px; font-weight: bold; font-weight: 600; } .bbpress #subscription-toggle {float: right;} /* hide pagination count */ .bbp-pagination-count { display: none } /* search + breadcrumbs */ #bbp_search, #bbp_search_submit { height: 30px; margin-bottom: 20px; padding-top: 0; padding-bottom: 0; } #bbpress-forums div.bbp-search-form { float: none } #bbp_search { width: 70% !important; float: left; height: 40px; } #bbp_search_submit { float: right; width: 28%; height: 40px; line-height: 40px; padding-top: 0; padding-bottom: 0; } /* hide "freshness */ .forum-archive .bbp-topic-freshness, .forum-archive .bbp-forum-freshness, li.bbp-forum-freshness { display: none } li.bbp-forum-info, li.bbp-topic-title { width: 55% } /* hide social */ body.bbpress .social-share-title, body.bbpress .social-share-buttons { display: none } /* login */ .bbp-login-form, .bbp-logged-in { background: #f7f7f7; border: 1px solid #eee; padding: 20px; } .bbp-login-form label { width: auto; margin-bottom: 5px; color: #000; } .bbp-login-form input[type="text"], .bbp-login-form input[type="password"] { background: #fff; width: 100%; max-width: 100%; border: 1px solid #eee; } .bbp-login-form input[type="text"]:focus, .bbp-login-form input[type="password"]:focus { border-color: #bbb; box-shadow: 0 1px 2px rgba(0,0,0,0.1); } #sidebar .bbp-login-form label[for=rememberme] { width: auto } /* logged in */ .bbp-logged-in h4 { margin: 0 0 10px; font-weight: bold; font-weight: 600; font-size: 14px; } .bbp-logged-in .user-submit { float: right } .bbp-logged-in .user-submit img { display: block; background: #fff; padding: 3px; border: 1px solid #e4e4e4; } .bbp-logged-in .user-submit img:hover { opacity: 0.8; -moz-opacity: 0.8; -webkit-opacity: 0.8; } .bbp-logged-in img.avatar { margin: 0 } .bbp-login-form:after, .bbp-logged-in:after { content: ""; display: block; clear: both; } /* bbpress stats */ .widget_display_stats dt { float: left; width: 80%; background: #f7f7f7; padding: 0 12px; text-align: left; height: 40px; line-height: 40px; margin-bottom: 10px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; border: 1px solid #eee; border-right: none; } .widget_display_stats dd { float: left; width: 20%; background: #f3f3f3; border: 1px solid #eee; color: #000; text-align: center; padding: 0 12px; height: 40px; line-height: 40px; margin-bottom: 10px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } /* bbpress notice */ div.bbp-template-notice, div.indicator-hint { border-width: 2px; border-style: solid; padding: 0 0.6em; margin: 5px 0 15px; border-radius: 0px; background-color: #ffffe0; border-color: #e6db55; color: #000; clear: both; } div.bbp-template-notice p { margin: 0.5em 0 10px 0 !important; padding: 5px; font-size: 13px; line-height: 150%; } div.bbp-template-notice p { margin: 0.5em 0 10px 0 !important; padding: 10px; font-size: 13px; line-height: 150%; } div.bbp-template-notice.info { border: #cee1ef 2px solid; background-color: #f0f8ff; } div.bbp-template-notice.important { border: #e6db55 2px solid; background-color: #fffbcc; } #bbpress-forums p.bbp-topic-meta img.avatar, #bbpress-forums ul.bbp-reply-revision-log img.avatar, #bbpress-forums ul.bbp-topic-revision-log img.avatar, #bbpress-forums div.bbp-template-notice img.avatar, #bbpress-forums .widget_display_topics img.avatar, #bbpress-forums .widget_display_replies img.avatar { float: none; margin-bottom: -7px; border: 3px double #ddd; display: none !important; } div.bbp-submit-wrapper button { width: 100%; font-size: 14px; color: #FFFFFF; font-weight: 700; } #bbpress-forums div.bbp-forum-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar { border: none; max-width: 80px; padding: 0; margin: 12px auto 0 auto; float: none; padding: 5px; /* height: 80px; */ /* width: 80px; */ border: 1px solid #e7e7e7; /* -webkit-box-shadow: 0 0 7px rgba(0,0,0,.1); */ -moz-box-shadow: 0 0 7px rgba(0,0,0,.1); /* box-shadow: 0 0 7px rgba(0,0,0,.1); */ background: #fff; }
4、调整为适合你主题的颜色及样式,
这就看具体情况了,因为是通用代码,我们尽量没有加入太多个性化的东西,如果你想要改颜色和样式的话就需要改上面的 css 来和你自己的主题匹配,
比如我们做的几款中文主题集成的样式:
正在查看 3 结果:1-3 (共 3 个结果)
未找到对应子版块?请直接在 [疑难杂症] 版块中发帖提问。